var prefix = "myticket_ys_";

var addLocal = function(key,value){
	window.localStorage.setItem(prefix+key,JSON.stringify(value));
}

var getLocal = function(key){
	var data = window.localStorage.getItem(prefix+key);
	return JSON.parse(data);
}

var isNotBlank=function(str){
	if(str!=undefined && str==null && str.length!=0){
		return true;
	}else{
		return false;
	}
};